package cc.linker.steplink.crm.merchanth5.service.acs;

import com.github.pagehelper.PageInfo;

import java.util.*;

public interface ExternalOrderService {

    /**
     * 调用江苏台erp同步接口
     *
     * @param : orderSn
     * @return
     */
    void synchronizationOrder(String orderSn);

    /**
     * 调用江苏台erp退款发货接口
     *
     * @param : orderSn
     * @return
     */
    void synchronizationRefund(Long recId);

    Map getOrder(String orderSn);

    Map getRefundOrder(Long recId);

    void addAbnormalReason(Map<String, Object> param);

    List<Map> getOrderList(String startTime);

    PageInfo getOrderListByPhone(Map<String, Object> par, Integer pageIndex, Integer pageSize);

    void summaryEnd(String orderSn, Integer num);
}

